projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fdb983f
)
GtkImage: Fix the initial value of icon-size
author
Matthias Clasen
<mclasen@redhat.com>
Sun, 16 Jun 2013 00:22:18 +0000
(20:22 -0400)
committer
Matthias Clasen
<mclasen@redhat.com>
Sun, 16 Jun 2013 00:23:01 +0000
(20:23 -0400)
Since we are pulling the icon-size out of the icon helper now,
we should set its icon-size when constructing it.
gtk/gtkimage.c
patch
|
blob
|
history
diff --git
a/gtk/gtkimage.c
b/gtk/gtkimage.c
index 61c41b97eee8ce3c12505f66ed62d843f3a69116..cc480bfe902f210f9e8c6d71a43930fa1c294bb9 100644
(file)
--- a/
gtk/gtkimage.c
+++ b/
gtk/gtkimage.c
@@
-380,6
+380,7
@@
gtk_image_init (GtkImage *image)
gtk_widget_set_has_window (GTK_WIDGET (image), FALSE);
priv->icon_helper = _gtk_icon_helper_new ();
+ _gtk_icon_helper_set_icon_size (priv->icon_helper, DEFAULT_ICON_SIZE);
priv->filename = NULL;
}